<html>
<head>
<title>SetupBitmap</title>
<link rel="stylesheet" href="../../../../../../Styles/Default.css" type="text/css">
</head>

<body bgcolor="#FFFFFF">
<p class="Decl"><b>procedure</b> SetupBitmap(<br>
  &nbsp;&nbsp;DoClear: Boolean = False; <br>
  &nbsp;&nbsp;ClearColor: <a href="../../../../GR32/Types/Color%20Types.htm#TColor32">TColor32</a> 
  = $FF000000);</p>
<h2>Description</h2>
<p class="Body">Sets the size of the bitmap image to the size of the buffered 
  area. This method does not account for current <a href="../Properties/ScaleMode.htm">ScaleMode</a>.</p>
<p class="Body">If <b>DoClear</b> = True, the resized image will be filled with 
  a color specified in the <b>ClearColor</b> parameter.</p>
<p id="hidden">[See also]: <a href="../../TCustomPaintBox32/Methods/GetViewportRect.htm">GetViewPortRect</a>, 
  <a href="../../../../../Additional%20Topics/Using%20TImage32/Bitmap%20Image.htm">Bitmap 
  Image</a></p>
</body>
</html>
